import java.util.Scanner;
//一个最小一个最大
// 注意类名必须为 Main, 不要有任何 package xxx 信息
public class code1 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n =in.nextInt();
        int left=1;
        int right=n;
        while(left<=right) {
            System.out.print(left + " ");
            if(left!=right)
                System.out.print(right + " ");
            left++;
            right--;
        }
    }
}